home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 16 / develop 16 code / CollaboDraw / utils.h < prev    next >
Encoding:
Text File  |  1993-08-24  |  866 b   |  31 lines  |  [TEXT/MPS ]

  1. Boolean HasColorQD(void);
  2.  
  3. void DoError(OSErr err);
  4. void Notify(StringPtr string);
  5.  
  6. void pstrcpy(void *dest,void *src);
  7. void pstrcat(void *original,void *catStr);
  8.  
  9. void GetResString(StringPtr storage,short rezID,StringPtr backupString);
  10.  
  11. void *NewPtrChk(Size ptrSize);
  12. void *NewHandleChk(Size hndlSize);
  13. void DisposPtrChk(void *thePtr);
  14. void DisposHandleChk(void *theHndl);
  15.  
  16. void DisableAllMenus(void);
  17. void EnableAllMenuItems(MenuHandle theMenu);
  18. void SetDefaultMenus(void);
  19.  
  20. void SetUndoCommand(WindowPtr window,WInfoPtr infoPtr,const ShapeList *command);
  21. void ClearAppUndo(void);
  22. Boolean SetupAppUndo(void);
  23. Boolean SetUndoString(short commandID,Boolean redoFlag);
  24.  
  25. void ReadPrefs(void);
  26. void WritePrefs(void);
  27. void GetPrefsFolder(FSSpec *fSpec);
  28.  
  29. void MyDrawDefaultButtonOutline(DialogPtr theDialog,short theItem);
  30. GDHandle MyGetDeviceFromRect(Rect *localRect);
  31.